import {get, post, del, put } from './http.js'
const baseURL = 'user/'
    // 获取验证码
export const getCode = params => { return get(`${baseURL}codes`, params) }
export const register = params => { return post(`${baseURL}register`, params) }